package org.example.spring.service;

import org.example.spring.dao.OrderDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * ClassName:OrderService
 * Package:org.example.spring.service
 * Description:
 *
 * @Author:ZhangXin
 * @Create:2023/5/10-9:45
 * @Version:v1.0
 */
@Service
public class OrderService {

    @Autowired
    @Qualifier("orderDaoImplMySql")
    private OrderDao orderDao;

    public void generate() {
        orderDao.insert();
    }

    ;
}
